package com.config.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author Lu
 * @since 2021-02-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Operation对象", description="")
public class Operation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "运行阈值id")
    @TableId(value = "op_id", type = IdType.AUTO)
    private Integer opId;

    @ApiModelProperty(value = "运行设备（cpu,内存，C/D盘）")
    private String opName;

    @ApiModelProperty(value = "阈值")
    private Integer opValue;


}
